Author Login Chief Editor Login Reviewer Login Editor Login Remote Office

Computer Engineering

   

A Large Language Model-Based Hybrid Prediction for Dimensional Aspect-Based Sentiment Analysis

  

  • Published:2026-12-02

基于大语言模型混合预测的方面级维度情感分析

Abstract: Dimensional Aspect-Based Sentiment Analysis (DimABSA) requires both aspect–opinion (A–O) extraction and pairing and continuous sentiment intensity regression along the valence–arousal (V–A) dimensions. To address insufficient A–O pairing accuracy, cross-pairing errors generated by generative models, and limited stability of V–A regression under low-resource conditions, this paper proposes a hybrid prediction framework based on large language models (LLMs) and BERT, which decouples structured extraction from continuous regression. The LLM module adopts Qwen2.5-7B-Instruct as the backbone model and generates structured A–O pairs through three-shot prompting. Preference data are constructed by treating correct pairs as positive samples and constructed incorrect pairs as negative samples, and three preference optimization algorithms (DPO, KTO, and ORPO), four negative-sample strategies, and three negative-to-positive sample ratios are compared. The BERT module uses XLM-RoBERTa-large as the backbone encoder and is jointly trained on multilingual and multi-domain data. It predicts V–A values by combining a sigmoid-based bounded transformation with a validation-guided subset search ensemble. On the English Laptop and Restaurant test sets of SemEval-2026, the complete framework achieves cF1 scores of 0.5651±0.0063 and 0.6233±0.0091, respectively. Its average performance improves by 15% over the best baseline in each domain and by approximately 46.6% over the same-scale SFT model, and the performance gains are substantially larger than the across-seed fluctuations. In supplementary experiments on Chinese datasets, the average cF1 reaches 0.4773. Ablation and statistical analyses show that A–O pairing is the major bottleneck of end-to-end performance, and that KTO combined with simple random-mismatch negative samples and a 1:1 negative-to-positive sample ratio achieves the best pairing performance. A two-way analysis of variance shows that the optimization algorithm, the negative-sample strategy, and their interaction are all statistically significant, and Tukey's HSD test shows that KTO_easy significantly outperforms DPO_easy and ORPO_easy. Complex negative samples, higher negative-to-positive sample ratios, and multi-stage training fail to yield stable gains. The overall noise rates of the SFT-augmented and mixed strategies reach 42.18% and 19.81%, respectively, which tend to introduce preference reversals and ambiguous supervision signals. In the regression module, joint training and the ensemble strategy reduce the average RMSE to 1.0638 and 0.9093, respectively. Failure-case analysis groups the remaining errors into four types. Missed extraction refers to insufficient recall of parallel opinions on the same aspect. Over-extraction arises when factual descriptions without sentiment orientation are mistaken for opinions. Boundary errors occur when negation, modal, or predicate components of opinions are truncated. Pairing errors concentrate in adversative and multi-entity sentences, where opinions are mismatched to closer entities. The experiments reveal a "less is more" phenomenon in low-resource DimABSA, in which simple preference data and single-stage optimization are more effective, providing configuration guidance for related model design and training-strategy selection.

摘要: 方面级维度情感分析(DimABSA)需要同时完成方面—观点词(A-O)抽取配对与效价—唤醒度(V-A)连续情感强度回归。针对低资源条件下A-O配对精度不足、生成式模型易产生跨配对错误以及V-A回归稳定性有限的问题,提出一种基于大语言模型(LLMs)与 BERT 的混合预测框架,将结构化抽取与连续回归解耦。LLMs模块以Qwen2.5-7B-Instruct为基座模型,通过3样本提示生成结构化 A-O 配对,并以正确配对为正样本、构造错误配对为负样本建立偏好数据,比较 DPO、KTO和ORPO三种偏好优化算法、4 种负样本策略及 3 种负正样本比例;BERT 模块以XLM-RoBERTa-large为主干编码器,在多语言多领域数据上联合训练,结合基于sigmoid的有界-变换与验证集引导的子集搜索集成预测V-A值。在 SemEval-2026英文Laptop和Restaurant测试集上,完整框架的cF1分别达到0.5651±0.0063和0.6233±0.0091,平均结果较各领域最优基线提升 15%,较同规模 SFT 模型提升约 46.6%,且性能增益明显大于跨随机种子波动;中文补充实验的平均 cF1 达到0.4773。消融与统计分析表明,A-O配对是端到端性能的主要瓶颈,KTO 结合简单随机错配负样本和1:1负正样本比例取得最佳配对性能;双因素方差分析显示优化算法、负样本策略及二者交互作用均显著,Tukey HSD检验显示 KTO_easy显著优于DPO_easy和ORPO_easy。复杂负样本、更高负样本比例和多阶段训练均未带来稳定增益,SFT增强和混合策略的综合噪声率分别达到42.18%和19.81%,易引入偏好反转与模糊监督信号。回归模块中,联合训练与集成策略将平均RMSE依次降至1.0638和0.9093。失败案例分析将剩余误差归为四类:遗漏抽取表现为同一方面的并列观点召回不足,过度抽取源于无情感倾向的事实描述被误判为观点,边界错误表现为观点中的否定、情态或谓词成分被截断,配对错误集中于转折句和多实体句中观点被误配至距离更近的实体。实验揭示了低资源DimABSA任务中简单偏好数据与单阶段优化更有效的“少即是多”现象,为相关模型设计和训练策略选择提供配置参考。